package com.luoying.itew.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/5/28.
 * time 2018-5-10
 * author zm
 */
public class SubmitLogPBean implements Serializable {

    public SubmitLogPBean(String logContent,String walkerLocation, RoadStateBean roadState,
                          BuildingStateBean buildingState, MonitorStateBean monitorState) {
        this.logContent = logContent;
        this.walkerLocation = walkerLocation;
        this.roadState = roadState;
        this.buildingState = buildingState;
        this.monitorState = monitorState;
    }



    /**
     * walkerLocation : resrew
     * roadState : {"signAddress":"周边道路状态","value":["地面裂缝","地面隆起","管线裸露开裂","已巡查未发现异常"]}
     * buildingState : {"signAddress":"周边建筑物状态","value":["建筑物裂缝","建筑物倾斜","已巡查未发现异常"]}
     * monitorState : {"signAddress":"监测物状态","value":["明显裂缝","局部滑移面","局部积水","排水不畅","已巡查未发现异常"]}
     */
    public String logContent;
    public String walkerLocation;
    public RoadStateBean roadState;
    public BuildingStateBean buildingState;
    public MonitorStateBean monitorState;
    private ImgLogBean imgLog;
    public String access_token;
    public String sign;

    public ImgLogBean getImgLog() {
        return imgLog;
    }

    public void setImgLog(ImgLogBean imgLog) {
        this.imgLog = imgLog;
    }

    public String getLogContent() {
        return logContent;
    }

    public void setLogContent(String logContent) {
        this.logContent = logContent;
    }
    public String getWalkerLocation() {
        return walkerLocation;
    }

    public void setWalkerLocation(String walkerLocation) {
        this.walkerLocation = walkerLocation;
    }

    public RoadStateBean getRoadState() {
        return roadState;
    }

    public void setRoadState(RoadStateBean roadState) {
        this.roadState = roadState;
    }

    public BuildingStateBean getBuildingState() {
        return buildingState;
    }

    public void setBuildingState(BuildingStateBean buildingState) {
        this.buildingState = buildingState;
    }

    public MonitorStateBean getMonitorState() {
        return monitorState;
    }

    public void setMonitorState(MonitorStateBean monitorState) {
        this.monitorState = monitorState;
    }

    public static class RoadStateBean implements Serializable {
        public RoadStateBean(String name, List<String> value) {
            this.name = name;
            this.value = value;
        }

        /**
         * signAddress : 周边道路状态
         * value : ["地面裂缝","地面隆起","管线裸露开裂","已巡查未发现异常"]
         */

        private String name;
        private List<String> value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> value) {
            this.value = value;
        }
    }

    public static class BuildingStateBean implements Serializable {
        public BuildingStateBean(String name, List<String> value) {
            this.name = name;
            this.value = value;
        }

        /**
         * signAddress : 周边建筑物状态
         * value : ["建筑物裂缝","建筑物倾斜","已巡查未发现异常"]
         */

        private String name;
        private List<String> value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> value) {
            this.value = value;
        }
    }

    public static class ImgLogBean {
        public ImgLogBean(List<String> value) {
            this.value = value;
        }

        private List<String> value;

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> value) {
            this.value = value;
        }
    }

    public static class MonitorStateBean  implements Serializable{
        public MonitorStateBean(String name, List<String> value) {
            this.name = name;
            this.value = value;
        }

        /**
         * signAddress : 监测物状态
         * value : ["明显裂缝","局部滑移面","局部积水","排水不畅","已巡查未发现异常"]
         */

        private String name;
        private List<String> value;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<String> getValue() {
            return value;
        }

        public void setValue(List<String> value) {
            this.value = value;
        }
    }

    public String getAccess_token() {
        return access_token;
    }

    public void setAccess_token(String access_token) {
        this.access_token = access_token;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
